President Barack Obama speaks during an interview with The Associated Press at the White House. — APWASHINGTON — President Barack Obama said Mitt Romney has locked himself into “extreme positions" on economic and social issues and would surely impose them if elected, trying to discredit his Republican rival at the biggest political moment of his life. In an interview with The Associated Press, Obama said Romney lacks serious ideas, refuses to “own up" to the responsibilities of what it takes to be president, and deals in factually dishonest arguments that could soon haunt him in face-to-face debates. Obama also offered a glimpse of how he would govern in a second term of divided government, insisting rosily that the forces of the election would help break Washington's stalemate. He said he would be willing to make a range of compromises with Republicans, confident there are some who would rather make deals than remain part of “one of the least productive Congresses in American history." With the remarks, Obama set up a contrast between Romney, whom he cast as an extremist pushing staunchly conservative policies, and himself, by saying he would work across party lines. It was a seeming play for the independent voters who decide close elections and tell pollsters they want to see the often-gridlocked politicians in Washington solve the nation's problems. Mainly, Obama was intent on countering Romney even before his challenger got to the Republican National Convention in Tampa, Florida. In doing so, the president depicted his opponent as having accumulated ideas far outside the mainstream with no room to turn back. “I can't speak to Gov. Romney's motivations," Obama said. “What I can say is that he has signed up for positions, extreme positions, that are very consistent with positions that a number of House Republicans have taken. And whether he actually believes in those or not, I have no doubt that he would carry forward some of the things that he's talked about." Obama spoke to the AP on Thursday before heading off to a long weekend with his family at Camp David, the secluded presidential retreat in the Maryland mountains. He was at ease but doggedly on script, steering even personal-themed questions about Romney and running mate Paul Ryan into answers about starkly different visions for helping the middle class. Romney, a successful former executive of a private equity firm and one-time Massachusetts governor, will introduce himself to a TV audience of millions next Thursday as he takes the convention stage to accept his party's presidential nomination. He has offered himself as a business-minded alternative to Obama and has seized on voter concerns about joblessness and the direction of the nation. Obama also sought to chip away at Romney's trustworthiness, taking fresh shots at Romney's refusal to release years of tax returns for public inspection. He said that position was indicative of a candidate who has a “lack of willingness to take responsibility for what this job entails." Yet it is the economy that has driven this election and has dominated Obama's message of a middle-class revival. “We aren't where we need to be. Everybody agrees with that," said Obama, who inherited an economy in free fall and now bears responsibility for a recovery that remains weak. “But Gov. Romney's policies would make things worse for middle-class families and offer no prospect for long-term opportunity for those striving to get into the middle class," the president said. A Romney spokesman, Ryan Williams, jumped on Obama's account in the interview that the economy clearly needs to get better. “Mitt Romney and Paul Ryan agree," Williams said. “The American people know they aren't better off than they were four years ago." Obama said he is the candidate whose policies have historically helped the middle class on issues that people care about and that shape the economy — education, manufacturing, science and research, Medicare, debt reduction, tax rates, health care, consumer protection, college aid, energy. Williams, the Romney spokesman, responded that Obama has piled up national debt and presided over high unemployment. “Too many middle-class families are going to sleep each night worried," he said. “This may be the best President Obama can do, but it's not the best America can do." The moment that could finally shake up a close race could come in the three debates Obama and Romney hold in October. The president said Romney could run into trouble because of arguments that are not backed up by facts, citing a widely debunked television ad campaign in which Romney accuses Obama of gutting the work requirement in the federal welfare law. “It will be a little tougher to defend face-to-face," Obama said. The 25-minute interview, conducted in the library of the White House residence, was part of a multi-faceted campaign by Obama's team to snag some of the spotlight during Romney's big week. Obama denied the notion, widely if quietly held in political circles, that the fiercely competitive president is also driven to beat Romney because he does not hold him in high regard. “I don't really know him well," Obama said. “The big arguments that I have with Gov. Romney have to do with where we take this country forward." — AP