A high-molecular weight compound for an anode buffer layer comprising: a structural unit represented by the following formula, and a structural unit derived from an electron-accepting compound having a polymerizable functional group, the said high-molecular weight compound for an anode buffer layer having a weight average molecular weight of 20,000 to 1,000,000 as measured by GPC: wherein in formula; plural R a s are each independently a hydrogen atom or an alkyl group having 1 to 10 carbon atoms, with at least one R a being the alkyl group having 1 to 10 carbon atoms, and in a benzene ring having R a in the formula, at least one R a present at an ortho position with respect to a nitrogen atom is an alkyl group; plural R b s are each independently a hydrogen atom or an alkyl group having 1 to 10 carbon atoms; plural R c s are each independently a hydrogen atom, a halogen atom, a cyano group, an amino group, an alkyl group having 1 to 10 carbon atoms, or an alkoxy group having 1 to 10 carbon atoms, and R c s each bonded to neighboring carbon atoms in the same phenyl group may be bonded to one another to form a condensed ring; X is a single bond, -O-, -S-, -SO-, -SO 2 -, -NR 1 - (wherein R 1 is a hydrogen atom, an alkyl group having 1 to 4 carbon atoms, or a phenyl group), -CO-, -COO-, or a divalent organic group having 1 to 20 carbon atoms (wherein the organic group may contain an atom or a group selected from the group consisting of -O-, -S-, -SO-, -SO 2 -, -NR 2 - (wherein R 2 is a hydrogen atom, an alkyl group having 1 to 4 carbon atoms, or a phenyl group), -CO- and -COO-.); Y-X- is a group represented by: (wherein R 3 is a hydrogen atom or an alkyl group having 1 to 4 carbon atoms); and p is 0, 1, or 2. a structural unit represented by the following formula, and a structural unit derived from an electron-accepting compound having a polymerizable functional group, the said high-molecular weight compound for an anode buffer layer having a weight average molecular weight of 20,000 to 1,000,000 as measured by GPC: plural R a s are each independently a hydrogen atom or an alkyl group having 1 to 10 carbon atoms, with at least one R a being the alkyl group having 1 to 10 carbon atoms, and in a benzene ring having R a in the formula, at least one R a present at an ortho position with respect to a nitrogen atom is an alkyl group; plural R b s are each independently a hydrogen atom or an alkyl group having 1 to 10 carbon atoms; plural R c s are each independently a hydrogen atom, a halogen atom, a cyano group, an amino group, an alkyl group having 1 to 10 carbon atoms, or an alkoxy group having 1 to 10 carbon atoms, and R c s each bonded to neighboring carbon atoms in the same phenyl group may be bonded to one another to form a condensed ring; X is a single bond, -O-, -S-, -SO-, -SO 2 -, -NR 1 - (wherein R 1 is a hydrogen atom, an alkyl group having 1 to 4 carbon atoms, or a phenyl group), -CO-, -COO-, or a divalent organic group having 1 to 20 carbon atoms (wherein the organic group may contain an atom or a group selected from the group consisting of -O-, -S-, -SO-, -SO 2 -, -NR 2 - (wherein R 2 is a hydrogen atom, an alkyl group having 1 to 4 carbon atoms, or a phenyl group), -CO- and -COO-.); Y-X- is a group represented by: (wherein R 3 is a hydrogen atom or an alkyl group having 1 to 4 carbon atoms); and p is 0, 1, or 2.