Federal and local authorities are girding for serious threats of violence posed by several conflicting groups scheduled to demonstrate against Chinese Vice Premier Teng Hsiao-ping's visit to the White House on Monday.

One official directly concerned with Teng's security likened the precaustions to those taken when Soviet premier Nikita Khrushchev visited the United States in 1959. "It's a biggie," he said.

Every effort is being made to avoid the kind of violence precipitated by the shah of Iran's visit in November 1977, the official said. "We learned from that. There's going to be a lot more Park Service police and a lot more Metropolitan Police."

At least four separate groups of protesters will be marching in the vicinity of the White House during Teng's visit, and most of them have conflicting points of view.

One is an American Maoist revolutionary party that condemns Teng as a reactionary traitor to the Communist cause.

One is an organization of Chinese students who oppose Teng for being a Communist, and Rpesident Carter for recognizing the Peking regime while cutting off relations with the Nationalists on Taiwan.

A third group consists of sympathizers with the native Taiwanese who lived on the island before the Nationalist takeover in 1949, and who want independence from any Chinese government.

The fourth and smallest group is a Marxist-Leninist organization that will be demonstrating against "the purpose of war in (the) new U.S.-China alliance."

One of these organizations, which has endorsed and may have been responsible for an attack on the Chinese chancery Wednesday that left several windows broken and paint splashed all over the walls, openly advocates the violent overthrow of the United States government.

The group, called the Revolutionary Communist Party (USA) Committee for a Fitting Welcome, held a press conference at the Executive House Motor Hotel yesterday to announce its goals and tactics.

While reporters served themselves from an elegant coffee urn and ate danish pastries arrayed on linen-covered tables, members of the RCP (USA) stood in front of posters of Mao Tse-tung, Karl Marx and Lenin denouncing Teng as a "posturing bootlicker and sawed-off pimp" who has sold out to the capitalists.

"We are working for civil war," said Bob Avakian, central committee chairman of the PRC (USA). "The kind of thing that happened at the embassy yesterday is an example of a 'fitting welcome'... A warning has been issued and a call has been made."

Asked if his group would provoke violence on Monday, the stocky, bearded Avakian said "We're not pacifists.If people attack us will defend ourselves... I think what the Iranians did when the shah was here was a fine thing, in the scope of what we would do."

The largest announced demonstration will involve as many as 2,000 supporters of the Action Committee for the Support of the Republic of China (Taiwan). This group, composed mainly of Taiwanese and Chinese American students from around the country, staged a peaceful demonstration in Washington against Carter's new China policy on Jan. 1. About 300 people participated.

The World United Formosans for Independence, which expects a showing of 1,500 sympathizers, regards the Nationalist Chinese on Taiwan as "invaders," according to one organizer.

"The Taiwanese people want independence," said Ming S. Cheng of Baltimore. Though they dislike the government that will supported by other demonstrators, Cheng said, he does expect the Formosan protest to be peaceful.

Little information was immediately available about fourth group, the Central Organization of U.S. Marxist Leninists, which has a permit for 50 people to demonstrate on the Washington Monument grounds.

George Berklacy of the National Park Service police said yesterday that to cope with the demonstrators, who will be marching on both sides of the White House, at the Capitol and to the Chinese embassy in the course of the day, all leaves have been canceled for Park Service police. Three-hundred of them will be assigned to the protests, he said -- two-thirds of the force.

"It's like playing Chinese checkers," Berklacy said.